<?php

namespace UFSW\DataBaseBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Prueba
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Prueba
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="fecNac", type="date")
     */
    private $fecNac;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set fecNac
     *
     * @param \DateTime $fecNac
     * @return Prueba
     */
    public function setFecNac($fecNac)
    {
        $this->fecNac = $fecNac;

        return $this;
    }

    /**
     * Get fecNac
     *
     * @return \DateTime 
     */
    public function getFecNac()
    {
        return $this->fecNac;
    }
}
